Mercurial > jhg
comparison src/org/tmatesoft/hg/internal/DataSerializer.java @ 556:e55f17a7a195
AnnotateFacility renamed to HgBlameFacility and exposed, API shapes out and got some javadoc
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 22 Feb 2013 20:21:24 +0100 |
parents | 243202f1bda5 |
children | 7c0d2ce340b8 |
comparison
equal
deleted
inserted
replaced
555:e623aa2ca526 | 556:e55f17a7a195 |
---|---|
57 buffer[offset++] = (byte) ((value >>> 16) & 0x0ff); | 57 buffer[offset++] = (byte) ((value >>> 16) & 0x0ff); |
58 buffer[offset++] = (byte) ((value >>> 8) & 0x0ff); | 58 buffer[offset++] = (byte) ((value >>> 8) & 0x0ff); |
59 buffer[offset++] = (byte) (value & 0x0ff); | 59 buffer[offset++] = (byte) (value & 0x0ff); |
60 } | 60 } |
61 | 61 |
62 /** | |
63 * Denotes an entity that wants to/could be serialized | |
64 */ | |
62 @Experimental(reason="Work in progress") | 65 @Experimental(reason="Work in progress") |
63 interface DataSource { | 66 interface DataSource { |
64 public void serialize(DataSerializer out) throws IOException; | 67 public void serialize(DataSerializer out) throws IOException; |
65 | 68 |
66 /** | 69 /** |