go-hep.org/x/hep@v0.38.1/groot/riofs/consts.go (about)

     1  // Copyright ©2017 The go-hep Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package riofs
     6  
     7  // start of payload in a TFile (in bytes)
     8  const kBEGIN = 100
     9  
    10  // kStartBigFile-1 is the largest position in a ROOT file before switching to
    11  // the "big file" scheme (supporting files bigger than 4Gb) of ROOT.
    12  const kStartBigFile = 2000000000
    13  
    14  var (
    15  	rootMagic = []byte("root")
    16  )