ProtocolBuffers.ProtocolParser.WriteBytes C# (CSharp) Method

WriteBytes() public static method

public static WriteBytes ( Stream stream, byte val ) : void
stream Stream
val byte
return void
        public static void WriteBytes(Stream stream, byte[] val)
        {
            WriteUInt32 (stream, (uint)val.Length);
            stream.Write (val, 0, val.Length);
        }