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

     1  // Copyright ©2018 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 rbytes
     6  
     7  const (
     8  	kNullTag = 0
     9  	// on tag :
    10  	kNewClassTag    = 0xFFFFFFFF
    11  	kClassMask      = 0x80000000
    12  	kMapOffset      = 2
    13  	kByteCountVMask = 0x4000
    14  	kByteCountMask  = 0x40000000
    15  
    16  	kIsOnHeap = 0x01000000
    17  	//kNotDeleted   = 0x02000000
    18  	//kZombie       = 0x04000000
    19  	//kBitMask      = 0x00ffffff
    20  	kIsReferenced = 1 << 4
    21  
    22  	//baskets
    23  	DisplacementMask = 0xFF000000
    24  )
    25  
    26  const (
    27  	StreamedMemberWise = 0x4000
    28  )