Skip to content

Instantly share code, notes, and snippets.

Andrew Hogue awhogue

Block or report user

Report or block awhogue

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am awhogue on github.
  • I am ahogue ( on keybase.
  • I have a public key whose fingerprint is 68AF 1BD3 3274 D025 2537 CCF9 6BAC C20C 0F4E 5476

To claim this, I am signing this object:

View ThriftSerializerWithClassName
* Class that wraps a TSerializer.
class ThriftSerializerWithClassName[T <: BoundedTBase] {
val protocolFactory = new TCompactProtocol.Factory()
// TSerializer reuses a ByteArrayOutputStream, but isn't threadsafe.
val serializer = new TSerializer(protocolFactory)
def serialize(t: T): Array[Byte] = {
You can’t perform that action at this time.