7 types derived from ByteBuffer
Mono.Cecil (7)
Mono.Cecil.Cil\CodeWriter.cs (1)
23 sealed class CodeWriter : ByteBuffer {
Mono.Cecil.Metadata\Buffers.cs (3)
241 sealed class ResourceBuffer : ByteBuffer { 257 sealed class DataBuffer : ByteBuffer { 288 abstract class HeapBuffer : ByteBuffer {
Mono.Cecil\AssemblyReader.cs (2)
446 sealed class MetadataReader : ByteBuffer { 3269 sealed class SignatureReader : ByteBuffer {
Mono.Cecil\AssemblyWriter.cs (1)
2703 sealed class SignatureWriter : ByteBuffer {
8 instantiations of ByteBuffer
Mono.Cecil (8)
Mono.Cecil.Cil\CodeReader.cs (1)
478 var buffer = new ByteBuffer ();
Mono.Cecil.Cil\CodeWriter.cs (1)
126 if (GetOrMapTinyMethodBody (new ByteBuffer (body_bytes), ref rva))
Mono.Cecil.Cil\PortablePdb.cs (3)
354 var buffer = new ByteBuffer (); 385 var buffer = new ByteBuffer (); 487 var hashBytes = new ByteBuffer (pdb_checksum);
Mono.Cecil.PE\ImageReader.cs (1)
746 var buffer = new ByteBuffer (heap.data);
Mono.Cecil.PE\ImageWriter.cs (1)
97 win32_resources = module.Image.GetReaderAt (win32_resources_directory.VirtualAddress, size, (s, reader) => new ByteBuffer (reader.ReadBytes ((int) s)));
Mono.Cecil\AssemblyWriter.cs (1)
1029 return GetBlobIndex (new ByteBuffer (blob));
33 references to ByteBuffer
Mono.Cecil (33)
Mono.Cecil.Cil\CodeReader.cs (8)
474 public ByteBuffer PatchRawMethodBody (MethodDefinition method, CodeWriter writer, out int code_size, out MetadataToken local_var_token) 478 var buffer = new ByteBuffer (); 502 void PatchRawFatMethod (ByteBuffer buffer, CodeWriter writer, out int code_size, out MetadataToken local_var_token) 525 void PatchRawCode (ByteBuffer buffer, int code_size, CodeWriter writer) 591 void PatchRawSection (ByteBuffer buffer, MetadataBuilder metadata) 611 void PatchRawSmallSection (ByteBuffer buffer, MetadataBuilder metadata) 624 void PatchRawFatSection (ByteBuffer buffer, MetadataBuilder metadata) 635 void PatchRawExceptionHandlers (ByteBuffer buffer, MetadataBuilder metadata, int count, bool fat_entry)
Mono.Cecil.Cil\CodeWriter.cs (4)
28 readonly Dictionary<ByteBuffer, RVA> tiny_method_bodies; 38 this.tiny_method_bodies = new Dictionary<ByteBuffer, RVA> (new ByteBufferEqualityComparer ()); 77 var raw_body = code_reader.PatchRawMethodBody (method, this, out code_size, out local_var_token); 140 bool GetOrMapTinyMethodBody (ByteBuffer body, ref RVA rva)
Mono.Cecil.Cil\PortablePdb.cs (3)
354 var buffer = new ByteBuffer (); 385 var buffer = new ByteBuffer (); 487 var hashBytes = new ByteBuffer (pdb_checksum);
Mono.Cecil.Metadata\Buffers.cs (4)
432 readonly Dictionary<ByteBuffer, uint> blobs = new Dictionary<ByteBuffer, uint> (new ByteBufferEqualityComparer ()); 444 public uint GetBlobIndex (ByteBuffer blob) 456 void WriteBlob (ByteBuffer blob)
Mono.Cecil.PE\BinaryStreamWriter.cs (1)
69 public void WriteBuffer (ByteBuffer buffer)
Mono.Cecil.PE\ByteBuffer.cs (1)
294 public void WriteBytes (ByteBuffer buffer)
Mono.Cecil.PE\ByteBufferEqualityComparer.cs (4)
16 sealed class ByteBufferEqualityComparer : IEqualityComparer<ByteBuffer> { 18 public bool Equals (ByteBuffer x, ByteBuffer y) 33 public int GetHashCode (ByteBuffer buffer)
Mono.Cecil.PE\ImageReader.cs (1)
746 var buffer = new ByteBuffer (heap.data);
Mono.Cecil.PE\ImageWriter.cs (5)
32 ByteBuffer win32_resources; 827 void PatchWin32Resources (ByteBuffer resources) 832 void PatchResourceDirectoryTable (ByteBuffer resources) 842 void PatchResourceDirectoryEntry (ByteBuffer resources) 858 void PatchResourceDataEntry (ByteBuffer resources)
Mono.Cecil\AssemblyWriter.cs (1)
1016 uint GetBlobIndex (ByteBuffer blob)
Mono.Security.Cryptography\CryptoService.cs (1)
145 public static byte [] ComputeHash (params ByteBuffer [] buffers)