ByteMemory Type
A view over bytes. May be backed by managed or unmanaged memory, or memory mapped file.
Instance members
| Instance member | Description | 
| 
                
               | 
 | 
| 
                
               | 
                Get a stream representation of the backing memory. Disposing this will not free up any of the backing memory. Stream cannot be written to. 
 | 
| 
                
               | 
                Get a stream representation of the backing memory. Disposing this will not free up any of the backing memory. 
 | 
| 
                
              
                  Full Usage: 
                   this.CopyParameters: 
 intdest : byte[]destOffset : intcount : intModifiers: abstract | 
 | 
| 
                
               | 
 | 
| 
                
              
                  Full Usage: 
                   this[arg1]Parameters: 
 intReturns: byteModifiers: abstract | 
 
 | 
| 
                
              
                  Full Usage: 
                   this.LengthReturns: intModifiers: abstract | 
 | 
| 
                
              
                  Full Usage: 
                   this.ReadAllBytesReturns: byte[]Modifiers: abstract | 
 | 
| 
                
              
                  Full Usage: 
                   this.ReadBytesParameters: 
 intcount : intReturns: byte[]Modifiers: abstract | 
 
 | 
| 
                
              
                  Full Usage: 
                   this.ReadInt32Parameters: 
 intReturns: intModifiers: abstract | 
 
 | 
| 
                
              
                  Full Usage: 
                   this.ReadUInt16Parameters: 
 intReturns: uint16Modifiers: abstract | 
 
 | 
| 
                
              
                  Full Usage: 
                   this.ReadUtf8StringParameters: 
 intcount : intReturns: stringModifiers: abstract | 
 
 | 
| 
                
               | 
 
 | 
| 
                
              
                  Full Usage: 
                   this.ToArrayReturns: byte[]Modifiers: abstract | 
 | 
Static members
| Static member | Description | 
| 
                
               | 
                Empty byte memory. 
 | 
| 
                
               | |
| 
                
              
                  Full Usage: 
                   ByteMemory.FromArray(bytes, offset, length)Parameters: 
 byte[]offset : intlength : intReturns: ByteMemory | 
                Creates a ByteMemory object that is backed by a byte array with the specified offset and length. 
 
 | 
| 
                
              
                  Full Usage: 
                   ByteMemory.FromMemoryMappedFile(arg1)Parameters: 
 MemoryMappedFileReturns: ByteMemory | 
                Create a ByteMemory object that has a backing memory mapped file. 
 
 | 
| 
                
              
                  Full Usage: 
                   ByteMemory.FromUnsafePointer(addr, length, holder)Parameters: 
 nativeintlength : intholder : objReturns: ByteMemory | 
                Creates a ByteMemory object that is backed by a raw pointer. Use with care. 
 
 | 
 F# Compiler Guide
            F# Compiler Guide