Commit 13070150 authored by Jonathan Michalon's avatar Jonathan Michalon
Browse files

Switch read_buffer's & write_buffer's access from public to protected.

parent d49d8af2
......@@ -139,8 +139,8 @@ namespace OVCC.Network
return result;
}
public uint8[] read_buffer (DataInputStream stream,
Cancellable? cancel = null)
protected uint8[] read_buffer (DataInputStream stream,
Cancellable? cancel = null)
throws Error
{
var len = stream.read_uint16 (cancel);
......@@ -154,9 +154,9 @@ namespace OVCC.Network
return buf;
}
public bool write_buffer (DataOutputStream stream,
uint8[] buf,
Cancellable? cancel = null)
protected bool write_buffer (DataOutputStream stream,
uint8[] buf,
Cancellable? cancel = null)
throws Error
{
stream.put_uint16 ((uint16)buf.length, cancel);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment