Skip to content

Commit

Permalink
Added a convenience method for boolean structure modifiers.
Browse files Browse the repository at this point in the history
  • Loading branch information
aadnk committed Jan 10, 2013
1 parent 29709c4 commit 17a5f59
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,14 @@ public StructureModifier<Byte> getBytes() {
return structureModifier.withType(byte.class);
}

/**
* Retrieves a read/write structure for every boolean field.
* @return A modifier for every boolean field.
*/
public StructureModifier<Boolean> getBooleans() {
return structureModifier.withType(boolean.class);
}

/**
* Retrieves a read/write structure for every short field.
* @return A modifier for every short field.
Expand Down

0 comments on commit 17a5f59

Please sign in to comment.